package com.jeespring.shardingjdbc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jeespring.shardingjdbc.entity.Order;

import java.util.List;

public interface OrderService {

    List<Order> select(Order order);

    IPage<Order> selectPage(Order order ,int pageNumber, int pageSize);

    List<Order> selectAll();

    int insert(Order order);

    int delete(Order order);

    int update(Order order);
}
